tmem: cleanup: remove unneed parameter from pgp_delist()
authorBob Liu <lliubbo@gmail.com>
Tue, 28 Jan 2014 04:28:24 +0000 (12:28 +0800)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Wed, 9 Apr 2014 13:17:38 +0000 (09:17 -0400)
commitc85297d097614916bc05dd39f07ba6c09c362860
tree26cf1c10d798d0e4aab617c0275468479c90359f
parent108c6d26b06f90c5611b4d7c426f21cc010ea114
tmem: cleanup: remove unneed parameter from pgp_delist()

The parameter "eph_lock" is only needed for function tmem_evict(). Embeded the
delist code into tmem_evict() directly so as to drop the eph_lock parameter. By
this change, the eph list lock can also be released a bit earier.

Signed-off-by: Bob Liu <bob.liu@oracle.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
[v2: A fix for an assertion of 'client->eph_count >= 0' was rolled in]
xen/common/tmem.c